package cn.shengchao.examstar.rpc.product.api;

import cn.shengchao.examstar.rpc.base.PageResult;
import cn.shengchao.examstar.rpc.base.TransResult;
import cn.shengchao.examstar.rpc.product.req.*;
import cn.shengchao.examstar.rpc.product.res.ProductCourseSettingHasListVo;
import cn.shengchao.examstar.rpc.product.res.ProductCourseSettingVo;

/**
 * @program: examstarapi
 * @description: 产品合作有效期配置
 * @author: Xiong weiqiang
 * @create: 2025-06-30 18:24
 */
public interface IProductCourseSettingRpc {
    PageResult<ProductCourseSettingVo> queryProductCourseSetting(ProductCourseSettingPageQuery query);
    //单条配置保存
    TransResult<String> saveProductCourseSetting(ProductCourseSettingDto productCourseSettingDto);
    TransResult<String> saveProductCourseSettingByCourse(ProductCourseSettingBatchSaveDto productCourseSettingBatchSaveDto);
    TransResult<String> saveProductCourseSettingForGkCourse(ProductCourseSettingBatchSaveDto productCourseSettingBatchSaveDto);
    TransResult<String> deleteProductCourseSetting(ProductCourseSettingDeleteDto productCourseSettingDeleteDto);
    ProductCourseSettingHasListVo queryProductCourseSettingForShow(ProductCourseSettingQuery query);
}